/*
 * @(#) ExcelObject
 *
 * <br> Copyright:  Copyright (c) 2017
 * <br> @author caijinhuang
 * <br> 2017-12-18 15:57:49
 */

package com.sunsharing.sharemeeting.entity;

import com.xuxueli.poi.excel.annotation.ExcelField;
import com.xuxueli.poi.excel.annotation.ExcelSheet;

import org.apache.poi.hssf.util.HSSFColor;

@ExcelSheet(name = "用户信息" ,headColor = HSSFColor.HSSFColorPredefined.LIGHT_GREEN)
public class ExcelObject {

    @ExcelField(name = "账号")
    private String username;//账号

    @ExcelField(name = "密码")
    private String passwd;//密码

    @ExcelField(name = "姓名")
    private String nickname;//姓名

    @ExcelField(name = "邮箱")
    private String email;//邮箱

    // @ExcelField(name = "电话")
    // private String phone;//电话

    @ExcelField(name = "性别")
    private String sexName;//性别

    @ExcelField(name = "性别编号")
    private String sex;//性别编号

    @ExcelField(name = "部门")
    private String departmentName;//部门名称

    @ExcelField(name = "部门编号")
    private String departmentId;//部门编号

    @ExcelField(name = "小组")
    private String groupName;//小组名称

    @ExcelField(name = "小组编号")
    private String departmentInfoId;//小组编号(部门和小组关联代码)

    @ExcelField(name = "角色")
    private String roleName;//角色名称

    @ExcelField(name = "角色编号")
    private String roleId;//角色ID

    public ExcelObject() {
    }

    // public ExcelObject(String username, String passwd, String nickname,
    // String email, String phone, String sexName, String sex, String departmentName,
    // String departmentId, String groupName, String departmentInfoId, String roleName,
    // String roleId) {
    //     this.username = username;
    //     this.passwd = passwd;
    //     this.nickname = nickname;
    //     this.email = email;
    //     this.phone = phone;
    //     this.sexName = sexName;
    //     this.sex = sex;
    //     this.departmentName = departmentName;
    //     this.departmentId = departmentId;
    //     this.groupName = groupName;
    //     this.departmentInfoId = departmentInfoId;
    //     this.roleName = roleName;
    //     this.roleId = roleId;
    // }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    // public String getPhone() {
    //     return phone;
    // }
    //
    // public void setPhone(String phone) {
    //     this.phone = phone;
    // }

    public String getSexName() {
        return sexName;
    }

    public void setSexName(String sexName) {
        this.sexName = sexName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getDepartmentInfoId() {
        return departmentInfoId;
    }

    public void setDepartmentInfoId(String departmentInfoId) {
        this.departmentInfoId = departmentInfoId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
